﻿using System;

class NameOfTheDigit

            // Write program that asks for a digit and depending on the input shows the name of that digit (in English) using a switch statement.

{
    static void Main()
    {
        Console.WriteLine("Enter a digit:");
        byte digit = byte.Parse(Console.ReadLine());
        switch (digit)
        {
            case 1: Console.WriteLine("The name of the digit is: One");
                break;
            case 2: Console.WriteLine("The name of the digit is: Two");
                break;
            case 3: Console.WriteLine("The name of the digit is: Three");
                break;
            case 4: Console.WriteLine("The name of the digit is: Four");
                break;
            case 5: Console.WriteLine("The name of the digit is: Five");
                break;
            case 6: Console.WriteLine("The name of the digit is: Six");
                break;
            case 7: Console.WriteLine("The name of the digit is: Seven");
                break;
            case 8: Console.WriteLine("The name of the digit is: Eight");
                break;
            case 9: Console.WriteLine("The name of the digit is: Nine");
                break;
            case 0: Console.WriteLine("The name of the digit is: Zero");
                break;
            default: Console.WriteLine("invalid input");
                break;
        }
    }
}

